gtk4.git
24 years agoshould destroy the search dialog
Kristian Rietveld [Fri, 5 Oct 2001 17:10:20 +0000 (17:10 +0000)]
should destroy the search dialog

Fri Oct  5 19:06:07 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtktreeview.c (gtk_tree_view_leave_notify): should
        destroy the search dialog

        * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
        added check to prevent creation of a search dialog if there's
        already one around

        * gtk/gtktreeview.c: Define GTK_TREE_VIEW_SEARCH_DIALOG_KEY, and use
        it instead of "search-dialog" (when getting/setting the search dialog
        widget).

24 years agobroken image icon
Jakub Steiner [Fri, 5 Oct 2001 16:01:11 +0000 (16:01 +0000)]
broken image icon

24 years agofix GtkImage overview
Havoc Pennington [Fri, 5 Oct 2001 01:53:04 +0000 (01:53 +0000)]
fix GtkImage overview

2001-10-04  Havoc Pennington  <hp@pobox.com>

* gtk/tmpl/gtkimage.sgml: fix GtkImage overview

24 years agoFix #56586
Havoc Pennington [Thu, 4 Oct 2001 06:48:09 +0000 (06:48 +0000)]
Fix #56586

2001-10-04  Havoc Pennington  <hp@pobox.com>

        Fix #56586

* gtk/gtksettings.c (gtk_settings_class_init): move the F10
accelerator setting here...

* gtk/gtkmenubar.c (gtk_menu_bar_class_init): ...from over here,
because we try to use it when a menu bar hasn't necessarily been
initialized.

24 years agofix test case, it previously verified incorrect behavior
Havoc Pennington [Thu, 4 Oct 2001 00:22:13 +0000 (00:22 +0000)]
fix test case, it previously verified incorrect behavior

2001-10-03  Havoc Pennington  <hp@redhat.com>

* tests/testtextbuffer.c (logical_motion_tests): fix test case,
it previously verified incorrect behavior

        Fixes for #61565

* gtk/gtktextiter.c (gtk_text_iter_set_line): don't return lines
off the end
(_gtk_text_btree_get_iter_at_line_char): don't return lines off
the end
(_gtk_text_btree_get_iter_at_line_byte): don't return lines off
the end
(gtk_text_iter_forward_lines): if on the last line, move to end of
it

* gtk/gtktextbtree.c (_gtk_text_btree_last_could_contain_tag):
don't return a line off the end

24 years agomove insert_text and delete_text virtual functions to do_insert_text and
Kristian Rietveld [Wed, 3 Oct 2001 21:50:58 +0000 (21:50 +0000)]
move insert_text and delete_text virtual functions to do_insert_text and

Wed Oct  3 23:47:25  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkeditable.[ch]: move insert_text and delete_text virtual
        functions to do_insert_text and do_delete_text, add signals
        insert_text, delete_text and changed

        * gtk/gtkentry.[ch]: remove signals insert_text, delete_text
        and changed. Updates to match new situation.

        * gtk/gtkspinbutton.c: updates to match new situation

        * gtk/gtkoldeditable.h: remove signals changed, insert_text
        and delete_text

        * gtk/gtkoldeditable.c: updates to match new situation

        * gtk/gtktext.c: updates to match new situation

        Fixes bug #59803

24 years agoallow testing the end position
Havoc Pennington [Wed, 3 Oct 2001 20:49:10 +0000 (20:49 +0000)]
allow testing the end position

2001-10-03  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextiter.c (test_log_attrs): allow testing the end
position

* gtk/gtktextbuffer.c (compute_log_attrs): update for pango
changes

* tests/testtextbuffer.c (logical_motion_tests): updates

24 years agoforgot to save before previous commit; this adds the deprecation
Havoc Pennington [Wed, 3 Oct 2001 20:00:18 +0000 (20:00 +0000)]
forgot to save before previous commit; this adds the deprecation
of gdk_window_set_hints().

24 years agos/retrive/retrieve/
jacob berkman [Wed, 3 Oct 2001 19:48:55 +0000 (19:48 +0000)]
s/retrive/retrieve/

2001-10-03  jacob berkman  <jacob@ximian.com>

* gtk/gtkwidget.c (gtk_widget_style_get_property):
* gtk/gtkstyle.c (_gtk_style_peek_property_value):
* gtk/gtksettings.c (apply_queued_setting):
* gtk/gtkmain.c (gtk_init_check):
* gtk/gtkcontainer.c (gtk_container_child_get_property):
s/retrive/retrieve/

24 years agoremove gtk_cell_editable_get_type
Jonathan Blandford [Wed, 3 Oct 2001 19:10:15 +0000 (19:10 +0000)]
remove gtk_cell_editable_get_type

Wed Oct  3 15:09:18 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtk.types: remove gtk_cell_editable_get_type

24 years agoforgot this one...
Kristian Rietveld [Wed, 3 Oct 2001 18:30:45 +0000 (18:30 +0000)]
forgot this one...

24 years agopreparation for surgery ditto
Kristian Rietveld [Wed, 3 Oct 2001 18:29:20 +0000 (18:29 +0000)]
preparation for surgery ditto

Wed Oct  3 20:29:29 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtktreemodelsort.[ch]: preparation for surgery
        * tests/testtreesort.c: ditto

24 years agoThroughout: assorted docs
Havoc Pennington [Wed, 3 Oct 2001 18:19:48 +0000 (18:19 +0000)]
Throughout: assorted docs

2001-10-02  Havoc Pennington  <hp@redhat.com>

        Throughout: assorted docs

* gdk/gdkwindow.h: deprecate gdk_window_set_hints(), it's broken,
gdk_window_set_geometry_hints() should be used instead.

* gdk/gdkimage.h: deprecate gdk_image_ref, gdk_image_unref, and
document them

* gdk/x11/gdkx.h: remove gdk_get_client_window() since it doesn't
seem to exist in any .c files

* gdk/x11/gdkcolor-x11.c (gdk_colormap_query_color): docs,
g_return_if_fail (pixel < colormap->size).

24 years agoAllow NUOL for @target_list to mean, use gtk_drag_dest_get_target_list
Owen Taylor [Wed, 3 Oct 2001 15:08:10 +0000 (15:08 +0000)]
Allow NUOL for @target_list to mean, use gtk_drag_dest_get_target_list

Wed Oct  3 10:42:54 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_dest_find_target): Allow
NUOL for @target_list to mean, use
gtk_drag_dest_get_target_list (widget).

* gtk/gtkdnd.c (gtk_drag_finish): Fix problem where
drop could hang when calling gtk_drag_finish with
success == FALSE and del == TRUE.

* gtk/gtkdnd.c (gtk_drag_dest_drop): Fix problem where
drops without a matching target found would propagate
to the parent widget rather than being rejected.

* gtk/gtktextview.c (gtk_text_view_drag_data_received):
Use text_view->dnd_mark instead of mark name to be
consistent with the rest of the code.

* gtk/gtktextview.c (gtk_text_view_drag_motion): Make
pendantically correct for a drop-only-in-some-places
widget. (Check whether you can insert in drag_drop,
not just in drag_motion ... matters in theory, and
for Motif drag and drop in practice.)

* gtk/gtkentry.c (gtk_entry_drag_drop): Patch from
Damian Ivereigh to not allow drops on non-editable
entries. (#61124)

* gtk/gtkentry.c (gtk_entry_motion_notify): Don't allow
text to be moved from a non-editable entry.

24 years agos/width/fixed_width/ in order to get things to compile.
James Henstridge [Wed, 3 Oct 2001 13:33:50 +0000 (13:33 +0000)]
s/width/fixed_width/ in order to get things to compile.

2001-10-03  James Henstridge  <james@daa.com.au>

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
        s/width/fixed_width/ in order to get things to compile.

24 years agodocs
Jonathan Blandford [Wed, 3 Oct 2001 04:44:13 +0000 (04:44 +0000)]
docs

Wed Oct  3 00:37:09 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkcelleditable.c: docs

* gtk/gtktreemodel.h: more docs.

24 years agodocs
Havoc Pennington [Tue, 2 Oct 2001 19:40:54 +0000 (19:40 +0000)]
docs

2001-10-02  Havoc Pennington  <hp@redhat.com>

* gdk/x11/gdkwindow-x11.c: docs

* tests/testtextbuffer.c (logical_motion_tests): add sentence
boundary tests

2001-10-02  Havoc Pennington  <hp@redhat.com>

* gtk/tree_widget.sgml: s/empahsis/emphasis/

* gtk/tmpl/gtkobject.sgml: update docs

24 years agoadd editable_cells.c, list_store.c and tree_store.c
Kristian Rietveld [Tue, 2 Oct 2001 18:54:05 +0000 (18:54 +0000)]
add editable_cells.c, list_store.c and tree_store.c

Tue Oct  2 20:18:32 2001  Kristian Rietveld  <kristian@planet.nl>

        * demos/gtk-demo/Makefile.am: add editable_cells.c,
        list_store.c and tree_store.c

        * demos/gtk-demo/appwindow.c: remove tearoff item from
        File menu, put menubar and toolbar in handle boxes.

        * demos/gtk-demo/genincude.pl: various changes to support trees

        * demos/gtk-demo/main.c: various changes to support trees

        * demos/gtk-demo/stock_browser.c: changed name of demo
        to Stock Item and Icon Browser, so geninclude.pl doesn't see
        it as child

        * demos/gtk-demo/editable_cells.c: new file/demo
        * demos/gtk-demo/list_store.c: new file/demo
        * demos/gtk-demo/tree_store.c: new file/demo

24 years agoFix indentation use a macro to make code a bit more readable.
Owen Taylor [Tue, 2 Oct 2001 16:11:07 +0000 (16:11 +0000)]
Fix indentation use a macro to make code a bit more readable.

Tue Oct  2 11:29:50 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixdata.c (gdk_pixdata_to_csource): Fix indentation
        use a macro to make code a bit more readable.

24 years agos/g_string_printfa/g_string_append_printf/
Sven Neumann [Tue, 2 Oct 2001 12:46:05 +0000 (12:46 +0000)]
s/g_string_printfa/g_string_append_printf/

24 years agog_string_printfa => g_string_append_printf.
Owen Taylor [Mon, 1 Oct 2001 20:35:02 +0000 (20:35 +0000)]
g_string_printfa => g_string_append_printf.

Mon Oct  1 16:05:44 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkrc.c gtk/gtksettings.c:
g_string_printfa => g_string_append_printf.

24 years agoadd a finalize and destroy handler.
Jonathan Blandford [Mon, 1 Oct 2001 20:12:47 +0000 (20:12 +0000)]
add a finalize and destroy handler.

Mon Oct  1 16:08:23 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkliststore.c (gtk_list_store_class_init): add a finalize
and destroy handler.

* gtk/gtktreestore.c (gtk_list_store_class_init): ditto, #59963

* gtk/gtktreeview.h (struct _GtkTreeViewClass): Add
'start_editing' flag to select_cursor_row.  Bug spotted by Manish
Singh <yosh@gimp.org>.

24 years agoMove standard gobject stuff to the 'Standard' sections. (#61483)
Matthias Clasen [Mon, 1 Oct 2001 18:59:53 +0000 (18:59 +0000)]
Move standard gobject stuff to the 'Standard' sections. (#61483)

* gtk/gtk-sections.txt: Move standard gobject stuff to the 'Standard' sections. (#61483)

24 years agoreplace g_scanner_add/remove_symbol by g_scanner_scope_add/remove_symbol.
Matthias Clasen [Mon, 1 Oct 2001 18:23:32 +0000 (18:23 +0000)]
replace g_scanner_add/remove_symbol by g_scanner_scope_add/remove_symbol.

* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): replace
g_scanner_add/remove_symbol by g_scanner_scope_add/remove_symbol.

* gtk/gtkrc.c (gtk_rc_parse_any): here as well.

24 years agochange scroll_to_cell delayed code to happen in size_allocate.
Jonathan Blandford [Mon, 1 Oct 2001 18:12:34 +0000 (18:12 +0000)]
change scroll_to_cell delayed code to happen in size_allocate.

Mon Oct  1 14:07:02 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_size_allocate): change
scroll_to_cell delayed code to happen in size_allocate.

* gtk/gtkstyle.c (gtk_default_draw_expander): change
prelight/normal arrow drawing.

* gtk/gtktreedatalist.c: Change compare func to use g_utf8_collate

* gtk/gtktreestore.c: refactor.

24 years agoApplied patch from Soeren Sandmann <sandmann@daimi.au.dk>. Vertically
Manish Singh [Mon, 1 Oct 2001 05:20:43 +0000 (05:20 +0000)]
Applied patch from Soeren Sandmann <sandmann@daimi.au.dk>. Vertically

Sun Sep 30 22:15:52 2001  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcheckbutton.c (gtk_check_button_size_allocate): Applied
        patch from Soeren Sandmann <sandmann@daimi.au.dk>. Vertically
        centers the child in relation to the to indicator height.

24 years agoMake ITERS_PERSIST correct
Jonathan Blandford [Sun, 30 Sep 2001 19:17:30 +0000 (19:17 +0000)]
Make ITERS_PERSIST correct

Sun Sep 30 15:11:59 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreestore.c (gtk_tree_store_remove): Make ITERS_PERSIST correct

24 years ago-)
CEST [Sun, 30 Sep 2001 05:11:09 +0000 (05:11 +0000)]
-)

Sun Sep 30  07:01:42 2001 CEST <mikeh@bahnhof.se>

    * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int
      and changed from g_value_get_enum to g_value_get_int instead.
      Probadly a better way to fix the problem :-)

24 years agogtk/gtkcellrenderertext.c changed "weight" property type from
CEST Mikael Hermansson [Sun, 30 Sep 2001 04:45:43 +0000 (04:45 +0000)]
gtk/gtkcellrenderertext.c changed "weight" property type from

Sun Sep 30  05:31:32 2001 CEST Mikael Hermansson <tyan@linux.se>

    * gtk/gtkcellrenderertext.c changed "weight" property type from
      g_param_spec_int to g_param_spec_enum.

24 years agogtk/gtkcellrenderertext.c changed "weight" property type from
Mikael Hermansson [Sun, 30 Sep 2001 04:41:59 +0000 (04:41 +0000)]
gtk/gtkcellrenderertext.c changed "weight" property type from

* gtk/gtkcellrenderertext.c changed "weight" property type from
  g_param_spec_int to g_param_spec_enum.

24 years agoAdded build/win32/dirent/Makefile
Alexander Larsson [Sun, 30 Sep 2001 04:12:26 +0000 (04:12 +0000)]
Added build/win32/dirent/Makefile

2001-09-29  Alexander Larsson  <alla@lysator.liu.se>

* configure.in:
Added build/win32/dirent/Makefile

24 years agotypo fix: s/Wether/Whether/ in reorderable property description
Manish Singh [Sat, 29 Sep 2001 19:29:46 +0000 (19:29 +0000)]
typo fix: s/Wether/Whether/ in reorderable property description

Sat Sep 29 12:25:26 2001  Manish Singh  <yosh@gimp.org>

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo
        fix: s/Wether/Whether/ in reorderable property description

24 years agoUpdated translations.
Fatih Demir [Sat, 29 Sep 2001 11:12:09 +0000 (11:12 +0000)]
Updated translations.

24 years agoremove gtk_object_destroy comment as requested.
Michael Meeks [Fri, 28 Sep 2001 00:45:39 +0000 (00:45 +0000)]
remove gtk_object_destroy comment as requested.

24 years agoonly start editing when you select with a keyboard.
Jonathan Blandford [Thu, 27 Sep 2001 20:49:34 +0000 (20:49 +0000)]
only start editing when you select with a keyboard.

Thu Sep 27 16:46:36 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): only
start editing when you select with a keyboard.

(gtk_tree_view_button_press_event): much more graceful now.

* gtk/gtkstyle.c: Draw togglebutton better.

24 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Thu, 27 Sep 2001 11:43:12 +0000 (11:43 +0000)]
Updated Norwegian (bokmål) translation.

2001-09-27  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.

24 years agoadd demo of passing non-stock label in to gtk_dialog_new_with_buttons
Havoc Pennington [Thu, 27 Sep 2001 00:11:23 +0000 (00:11 +0000)]
add demo of passing non-stock label in to gtk_dialog_new_with_buttons

2001-09-26  Havoc Pennington  <hp@redhat.com>

* demos/gtk-demo/dialog.c (interactive_dialog_clicked): add demo
of passing non-stock label in to gtk_dialog_new_with_buttons

* gtk/gtktextview.c (cursor_blinks): disable cursor blink when
debugging updates

* gtk/gtktextiter.h: comment about how GtkTextIter struct contents
are private

* gtk/gtkbutton.c (gtk_button_new_from_stock): if stock ID doesn't
exist, fall back to mnemonic label, not plain label, bug #61184

24 years agoStop being stupid and emitting the signal every time.
Jonathan Blandford [Thu, 27 Sep 2001 00:09:41 +0000 (00:09 +0000)]
Stop being stupid and emitting the signal every time.

Wed Sep 26 19:48:01 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreestore.c (gtk_tree_store_set_valist): Stop being
stupid and emitting the signal every time.

* gtk/gtkliststore.c (gtk_list_store_set_valist): ditto

24 years agoFix a typo in the include guards. (#61254, Skip Montaro)
Owen Taylor [Wed, 26 Sep 2001 22:09:28 +0000 (22:09 +0000)]
Fix a typo in the include guards. (#61254, Skip Montaro)

Wed Sep 26 18:08:19 2001  Owen Taylor  <otaylor@redhat.com>

* Makefile.am (s-enum-types-h): Fix a typo in the include
guards. (#61254, Skip Montaro)

24 years agoSep 26 16:35:59 2001 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Wed, 26 Sep 2001 20:37:39 +0000 (20:37 +0000)]
Sep 26 16:35:59 2001  Owen Taylor  <otaylor@redhat.com>

       Patch from Mark McLoughlin <mark@skynet.ie> (#61233)

       * contrib/gdk-pixbuf-xlib/Makefile.am: install
       gdk-pixbuf-xlib-2.0.pc.

24 years agoFix problem where menmonic wasn't removed properly when setting a label
Owen Taylor [Wed, 26 Sep 2001 20:33:23 +0000 (20:33 +0000)]
Fix problem where menmonic wasn't removed properly when setting a label

Wed Sep 26 16:15:25 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_set_tab_label): Fix
problem where menmonic wasn't removed properly when
setting a label when there already is a label.
Also, handle setting the tab label back to the same
value. (#61160, #61161)

* gtk/gtkentry.c (paste_received): Patch from
        Damian Ivereigh to replace selection if there is
one. (#61121)

24 years agoAdd pot2bl.sed
Owen Taylor [Wed, 26 Sep 2001 20:32:41 +0000 (20:32 +0000)]
Add pot2bl.sed

Wed Sep 26 15:34:46 2001  Owen Taylor  <otaylor@redhat.com>

* Makefile.in.in (distclean): Add pot2bl.sed

24 years agoFinished Slovak translation.
Stanislav Visnovsky [Wed, 26 Sep 2001 09:01:08 +0000 (09:01 +0000)]
Finished Slovak translation.

2001-09-26  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Finished Slovak translation.

24 years agoIgnore new test program.
Darin Adler [Wed, 26 Sep 2001 05:26:36 +0000 (05:26 +0000)]
Ignore new test program.

* tests/.cvsignore: Ignore new test program.

24 years agofix for #50317
Havoc Pennington [Tue, 25 Sep 2001 23:35:06 +0000 (23:35 +0000)]
fix for #50317

2001-09-25  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c: fix for #50317

24 years agouse gtk_text_iter_can_insert
Havoc Pennington [Tue, 25 Sep 2001 22:51:26 +0000 (22:51 +0000)]
use gtk_text_iter_can_insert

2001-09-25  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (gtk_text_view_key_press_event): use
gtk_text_iter_can_insert

* gtk/gtktextbuffer.c: use gtk_text_iter_can_insert

* gtk/gtktextiter.c (find_line_log_attrs): fixes, #57611, #57613
 (gtk_text_iter_can_insert): new function to fix #60282, should
also fix msw's "can paste into empty buffer" bug.

* gtk/gtktexttag.c (gtk_text_tag_event): change type check for
"event object,"  #59091

* gtk/gtktextbtree.c: indentation fixes

* gtk/gtktextiter.c (find_by_log_attrs): fixes

24 years agoue Sep 25 12:41:17 2001 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Tue, 25 Sep 2001 20:40:20 +0000 (20:40 +0000)]
ue Sep 25 12:41:17 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in: Version 1.3.9, interface age 0, binary age 0.

* configure.in: Require GLib-1.39, Pango 0.20, Atk 0.5.

* NEWS: Updates.

Mon Sep 24 11:59:09 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkstyle.[ch] (_gtk_draw_insertion_cursor): Shared
function for drawing cursors between gtkentry/gtklabel/gtktextview.
Should this be public? It has a bit of an odd interface, but
custom editing widgets probably should be using it.
Function will draw with wider width for taller cursors, and
draws a little indicator arrow to indicate directoin for split
cursors.

* gtk/gtktextview.c: Add a "cursor_color" property.

* gtk/gtktextdisplay.[ch]: Add a cursor_gc parameter to
gtk_text_layout_draw().

* gtk/gtkentry.c gtk/gtklabel.c gtk/gtktextdisplay.c: Use
_gtk_draw_insertion_cursor().

Tue Sep 25 11:22:23 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcellrenderertext.c gtk/gtktexttag.c: Restore
the behavior where you could turn family_set (etc) back on
and get back the values you had before.

* demos/gtk-demo/stock_browser.c (id_to_macro): Use
g_string_ascii_up() rather than looping through the
string ourself.

24 years agoRemoved (gtk_tree_view_column_set_alignment): xalign = CLAMP (xalign, 0.0,
Jonathan Blandford [Tue, 25 Sep 2001 19:38:18 +0000 (19:38 +0000)]
Removed (gtk_tree_view_column_set_alignment): xalign = CLAMP (xalign, 0.0,

Tue Sep 25 15:32:44 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_set_cell_renderer): Removed
(gtk_tree_view_column_set_alignment): xalign = CLAMP (xalign, 0.0, 1.0);  Fixes 61012.

* gtk/gtktreestore.c (gtk_tree_store_sort_helper): Fixed #61012
Patch from Detlef Reichl

24 years agoAdd tests for line separators, addresses bug #57428
Havoc Pennington [Tue, 25 Sep 2001 18:31:40 +0000 (18:31 +0000)]
Add tests for line separators, addresses bug #57428

2001-09-25  Havoc Pennington  <hp@redhat.com>

* tests/testtextbuffer.c (line_separator_tests): Add tests for
line separators, addresses bug #57428

24 years agoMake a GtkCellEditable (get_widget_window_size): Change to let it honor
Jonathan Blandford [Tue, 25 Sep 2001 16:44:39 +0000 (16:44 +0000)]
Make a GtkCellEditable (get_widget_window_size): Change to let it honor

Tue Sep 25 12:34:42 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkentry.c: Make a GtkCellEditable
(get_widget_window_size): Change to let it honor size_allocate
when a CellEditable.

* gtk/gtktreeview.c: M-x clean-line-ends.  Lots of focus and
editable changes.
(gtk_tree_view_set_cursor): Now you can set the cursor
horizontally, as well as start editing.

* gtk/gtkstyle.c (gtk_default_draw_check): changing toggle drawing
code to look more like the other check buttons.

* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
Change the way we calculate cell size.

* gtk/gtkmarshal.list (VOID:STRING,STRING): new marshaller.

* demos/gtk-demo/sizegroup.c: Add mnemonics.

* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_size): Fix docs.
Fix logic.

* gtk/gtkcellrenderertext.c: Change to be editable.

* gtk/gtkcellrenderertoggle.c: Change to be activatable.

* test/testtreesort.c: Fix misspelling

* test/testreecolumns.c: Add mnemonics.

* test/testreeedit.c: New test program.

24 years agoMore updates.
Stanislav Visnovsky [Tue, 25 Sep 2001 10:51:41 +0000 (10:51 +0000)]
More updates.

2001-09-25  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: More updates.

24 years agoPut notes in gtk_window_set_has_frame(), etc. docs about how these are not
Havoc Pennington [Tue, 25 Sep 2001 06:16:55 +0000 (06:16 +0000)]
Put notes in gtk_window_set_has_frame(), etc. docs about how these are not

2001-09-25  Havoc Pennington  <hp@pobox.com>

* gtk/gtkwindow.c: Put notes in gtk_window_set_has_frame(),
etc. docs about how these are not going to do what you want for
the X/win32 ports. Futile attempt to avoid a FAQ...

24 years agoadd marshal function types.
James Henstridge [Tue, 25 Sep 2001 01:12:08 +0000 (01:12 +0000)]
add marshal function types.

2001-09-24  James Henstridge  <james@daa.com.au>

* gtk/gtkmarshal.list (VOID): add marshal function types.

* gtk/gtkctree.c (gtk_ctree_class_init): make arguments have type
GTK_TYPE_CTREE_NODE|G_SIGNAL_TYPE_STATIC_SCOPE rather than
GTK_TYPE_POINTER.
(gtk_ctree_node_get_type): implement boxed type for GtkCTreeNodes
with no-op copy/free functions.

* gtk/gtkctree.h (gtk_ctree_node_get_type): add prototype for
GtkCTreeNode get_type function.

24 years agoGet rid of the newline-that-could-not-be-deleted; buffers may now be
Havoc Pennington [Mon, 24 Sep 2001 23:12:39 +0000 (23:12 +0000)]
Get rid of the newline-that-could-not-be-deleted; buffers may now be

2001-09-24  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextiter.c, gtk/gtktextbuffer.c, gtk/gtktextbtree.c,
gtktextlayout.c:
Get rid of the newline-that-could-not-be-deleted; buffers may
now be zero-length. Much easier to fix than expected, once
I figured out the right way to do it. However, there are
various subtle bugs introduced by this that will have to get
sorted out. Please use bugzilla.

24 years agoDon't wait for a response back from the window manager if our size hasn't
Owen Taylor [Mon, 24 Sep 2001 20:41:05 +0000 (20:41 +0000)]
Don't wait for a response back from the window manager if our size hasn't

Mon Sep 24 15:09:08 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwindow.c (gtk_window_move_resize): Don't wait for a
response back from the window manager if our size hasn't changed
since we won't get a response back from the window manager;
there was code in there to do this, but it was in the wrong
place so if the hints change and the size didn't we'd expect
a response.

Also, optimize the position-only-changed case by running
the resize queue immediately, and clean up some comments
for the changes.

24 years agoAdd a compat macro that got lost.
Owen Taylor [Mon, 24 Sep 2001 16:54:41 +0000 (16:54 +0000)]
Add a compat macro that got lost.

Mon Sep 24 12:48:25 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.h: Add a compat macro that got lost.

        * gtk/gtktreestore.c: Doc fixes.

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix reference
        leak for windows that receive events after being destroyed.
        (#60863, Joshua N. Pritikin)

        * gtk/gtktable.c (gtk_table_remove): Use gtk_widget_queue_resize
        rather than gtk_container_queue_resize().

        * gtk/{gtkcontainer.c,gtkwidget.c,gtkwindow.c}: _gtk prefix
        gtk_container_queue_resize, gtk_container_queue_resize_widgets,
        gtk_container_child_composite_name. (#60217.)

24 years agoUpdates for removed/renamed functions.
Owen Taylor [Mon, 24 Sep 2001 16:54:19 +0000 (16:54 +0000)]
Updates for removed/renamed functions.

Mon Sep 24 12:43:45 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk-sections.txt: Updates for removed/renamed functions.

24 years agoUpdated ta.po
Fatih Demir [Sun, 23 Sep 2001 22:01:48 +0000 (22:01 +0000)]
Updated ta.po

24 years agofix compat macros for gtk_menu_<prepend|insert>
Hans Breuer [Sat, 22 Sep 2001 19:37:41 +0000 (19:37 +0000)]
fix compat macros for gtk_menu_<prepend|insert>

2001-09-22  Hans Breuer  <hans@breuer.org>

* gtk/gtkmenu.h : fix compat macros for gtk_menu_<prepend|insert>

24 years agoweight value should be an int
Kristian Rietveld [Sat, 22 Sep 2001 14:55:02 +0000 (14:55 +0000)]
weight value should be an int

Sat Sep 22 16:50:34 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtktexttag.c (gtk_text_tag_set_property): (case PROP_WEIGHT):
        weight value should be an int

Sat Sep 22 15:17:41 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkmenu.c (gtk_menu_select_item): move most code
        to gtk_menu_scroll_item_visible(). Only call
        gtk_menu_scroll_item_visible() if the menu widget has been
        realized. Fixes bug #55310.

24 years agoUpdated Slovak translation.
Stanislav Visnovsky [Sat, 22 Sep 2001 14:11:06 +0000 (14:11 +0000)]
Updated Slovak translation.

2001-09-22  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Updated Slovak translation.

24 years agodon't pass key press to IM context if cursor isn't in an editable
Havoc Pennington [Sat, 22 Sep 2001 00:08:18 +0000 (00:08 +0000)]
don't pass key press to IM context if cursor isn't in an editable

2001-09-21  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (gtk_text_view_key_press_event): don't pass
key press to IM context if cursor isn't in an editable location;
bug #58425, patch from Hidetoshi Tajima

24 years agoBug #60862
Havoc Pennington [Fri, 21 Sep 2001 23:56:43 +0000 (23:56 +0000)]
Bug #60862

2001-09-21  Havoc Pennington  <hp@redhat.com>

        Bug #60862

* gtk/gtktextbtree.c (gtk_text_btree_node_destroy):
(_gtk_text_btree_unref): fix up mark memory management

* gtk/gtktextmark.c (mark_segment_delete_func): ditto

24 years agodon't try to handle alignment here, because it's done by PangoLayout after
Havoc Pennington [Fri, 21 Sep 2001 23:39:21 +0000 (23:39 +0000)]
don't try to handle alignment here, because it's done by PangoLayout after

2001-09-20  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextlayout.c (gtk_text_layout_get_line_display): don't
try to handle alignment here, because it's done by PangoLayout
after we set the layout width. Fix from Dov.

24 years agoGtkRcStyle::parse has a GtkSettings parameter now. Pass it through
Hans Breuer [Fri, 21 Sep 2001 22:33:48 +0000 (22:33 +0000)]
GtkRcStyle::parse has a GtkSettings parameter now. Pass it through

2001-09-21  Hans Breuer  <hans@breuer.org>

* src/pixbuf-rc-style-c :  GtkRcStyle::parse has a GtkSettings
parameter now. Pass it through theme_parse_file () to use it
gtk_rc_find_pixmap_in_path ()

* src/pixbuf-draw.c : the font field from GtkStyle is private
now, use accessor gtk_style_get_font ()

* makefile.msc : compile on win32, use it if you have a _real_
fast computer or want to see gtk in slow motion :-)

24 years agoio-xpm.c (xpm_extract_color): Rewritten to handle
Matthias Clasen [Fri, 21 Sep 2001 21:39:42 +0000 (21:39 +0000)]
io-xpm.c (xpm_extract_color): Rewritten to handle
xpm colormap entries more thoroughly. (#59939)

24 years agoupdated externals
Hans Breuer [Fri, 21 Sep 2001 19:58:35 +0000 (19:58 +0000)]
updated externals

2001-09-21  Hans Breuer  <hans@breuer.org>

* gdk/gdk.def :
* gtk/gtk.def : updated externals

* gtk/gtkmain.h : define get_gtk_win32_directoty ()
* gtk/gtkmain.c (find_module) : don't use module_name after freeing it.
Also handle that Win32 pathes cann't be hard-coded

* gtk/gtkrc.c : use get_gtk_win32_directoty () to cleanup the various
module, themes etc directory calculations

* gdk/win32/gdkgeometry-win32.c : some more hacking to get coordinates
>16 bit right. The size limit within Win9x appears _not_ to be 32767
but slightly smaller ...

* gdk/win32/gdkwindow-win32.c : use impl->position_info to avoid
>16 bit clipping. Added dummy body for gdk_window_set_icon_list ()

* gdk/win32/gdkdrawable-win32.c : implement gdk_win32_drawable_get_handle ()

* gdk/win32/gdkevents-win32.c : some tweaking to get better expose
handling. I'm not sure if it is better now, but at least not worse

* gdk/win32/makefile.msc : define INSIDE_GDK_WIN32, some cleanup

* gdk/win32/gdkwin32.h : reflect recent API restrictions

24 years agoupdated externals
Hans Breuer [Fri, 21 Sep 2001 19:54:15 +0000 (19:54 +0000)]
updated externals

2001-09-21  Hans Breuer  <hans@breuer.org>

* gdk-pixbuf.def : updated externals

* makefile.msc : generate gdk-pixbuf-enum-types.[hc]

24 years agoset radio_menu_item->group to NULL after removing it from the list, as it
Matt Wilson [Fri, 21 Sep 2001 15:23:14 +0000 (15:23 +0000)]
set radio_menu_item->group to NULL after removing it from the list, as it

2001-09-21  Matt Wilson  <msw@redhat.com>

* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
radio_menu_item->group to NULL after removing it from the list, as
it is no longer in the group. (#60869)

* gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise

24 years agoadd variables and checks for specific versions of dependencies. Previously
Havoc Pennington [Fri, 21 Sep 2001 14:23:15 +0000 (14:23 +0000)]
add variables and checks for specific versions of dependencies. Previously

2001-09-20  Havoc Pennington  <hp@pobox.com>

* configure.in (PANGO_REQUIRED_VERSION)
(ATK_REQUIRED_VERSION): add variables and checks for specific
versions of dependencies. Previously we didn't verify the
Pango or ATk versions.

2001-09-09  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextiter.c: fool with indentation
(gtk_text_iter_in_range): add g_return_if_fail

24 years agoFix ref count on new tag to be 1. Update doc. (#60836)
Joshua N Pritikin [Fri, 21 Sep 2001 00:48:04 +0000 (00:48 +0000)]
Fix ref count on new tag to be 1. Update doc. (#60836)

* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Fix
ref count on new tag to be 1.  Update doc.  (#60836)

24 years agoOn OSF, apparently fseek() works in some on-demand way, so the fseek
Owen Taylor [Thu, 20 Sep 2001 21:24:19 +0000 (21:24 +0000)]
On OSF, apparently fseek() works in some on-demand way, so the fseek

Thu Sep 20 17:22:48 2001  Owen Taylor  <otaylor@redhat.com>

* io-tiff.c (gdk_pixbuf__tiff_image_load): On OSF, apparently fseek()
works in some on-demand way, so the fseek gdk_pixbuf_new_from_file() doesn't
work here since we are using the raw file descriptor. So, we call lseek()
on the fileno(f) before using it. (#60840).

24 years agoRemove unnecessary call to gdk_image_new_bitmap().
Owen Taylor [Thu, 20 Sep 2001 21:05:45 +0000 (21:05 +0000)]
Remove unnecessary call to gdk_image_new_bitmap().

Thu Sep 20 16:20:47 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
call to gdk_image_new_bitmap().

24 years agoUse the current day, as well as the current month and year.
Owen Taylor [Thu, 20 Sep 2001 19:35:08 +0000 (19:35 +0000)]
Use the current day, as well as the current month and year.

Thu Sep 20 15:31:35 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcalendar.c (gtk_calendar_init): Use the current
day, as well as the current month and year.

24 years agoAutomatically set set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
Owen Taylor [Thu, 20 Sep 2001 19:16:03 +0000 (19:16 +0000)]
Automatically set set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)

Thu Sep 20 15:10:30 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)

24 years agoCVS got a broken pipe signal, the ChangeLog change has already been
Kristian Rietveld [Thu, 20 Sep 2001 16:50:46 +0000 (16:50 +0000)]
CVS got a broken pipe signal, the ChangeLog change has already been
checked in.

24 years agoget rid of it,
Kristian Rietveld [Thu, 20 Sep 2001 16:45:41 +0000 (16:45 +0000)]
get rid of it,

Thu Sep 20 18:00:56 2001  Kristian Rietveld  <kristian@planet.nl>

        * tests/testgtk.c (struct OptionMenuItem): get rid of it,

        (build_option_menu): add func argument, connect ::changed
        signal to option menu instead of connecting the ::activate
        signal to the menu items,

        (toplevel): get rid of RADIOMENUTOGGLED macro,

        (list_toggle_sel_mode), (clist_toggle_sel_mode),
        (ctree_toggle_line_style), (ctree_toggle_expander_style),
        (ctree_toggle_justify), (ctree_toggle_sel_mode),
        (progressbar_toggle_orientation), (progressbar_toggle_bar_style):
        use gtk_option_menu_get_history() instead of RADIOMENUTOGGLED,

        (notebook_type_changed): merged standard_notebook(),
        notabs_notebook(), scrollable_notebook() and borderless_notebook()
        into notebook_type_changed()

        (create_list), (create_ctree), (create_notebook),
        (create_progress_bar): changed OptionMenuItem arrays into
        gchar * arrays. Removed "Extended" item where used.

        Fixes bug #59885

24 years agoconfigure.in gdk/Makefile.am gtk/Makefile.am gtk/gtkselection.c
Sven Neumann [Thu, 20 Sep 2001 16:31:21 +0000 (16:31 +0000)]
configure.in gdk/Makefile.am gtk/Makefile.am gtk/gtkselection.c

2001-09-20  Sven Neumann  <sven@gimp.org>

* configure.in
* gdk/Makefile.am
* gtk/Makefile.am
* gtk/gtkselection.c
* gtk/gtktreeview.c
* gtk/gtkwindow.c: removed remaining traces of nanox GDK backend.

24 years agosame change as in pango, so that flags types are registered as flags
James Henstridge [Thu, 20 Sep 2001 15:41:20 +0000 (15:41 +0000)]
same change as in pango, so that flags types are registered as flags

2001-09-20  James Henstridge  <james@daa.com.au>

* Makefile.am (gdk-pixbuf-enum-types.c): same change as in pango,
so that flags types are registered as flags rather than enums (not
that there are any flags here at the moment).

24 years agoAdd a missing pango_layout_iter_free ().
Owen Taylor [Thu, 20 Sep 2001 15:38:41 +0000 (15:38 +0000)]
Add a missing pango_layout_iter_free ().

Thu Sep 20 11:19:42 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Add
a missing pango_layout_iter_free ().

24 years agoSmall warning cleanups.
Owen Taylor [Thu, 20 Sep 2001 15:08:00 +0000 (15:08 +0000)]
Small warning cleanups.

Thu Sep 20 11:03:51 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
        gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.

        * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
        the function definition so we don't accidentally rely on
        the compat #define from gtk_radio_menu_item_group.
        (#60782, Jeff Franks)

24 years agoreturned incorrect values for top, right and bottom due to cut-and-paste
Kristian Rietveld [Thu, 20 Sep 2001 14:53:04 +0000 (14:53 +0000)]
returned incorrect values for top, right and bottom due to cut-and-paste

Thu Sep 20 16:51:02 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
        incorrect values for top, right and bottom due to cut-and-paste
        bug. Pointed out by Vitaly Tishkov, fixes bug #59008

24 years agoSet _NET_WM_PID and WM_CLIENT_MACHINE properties on each window, not just
Owen Taylor [Wed, 19 Sep 2001 22:09:17 +0000 (22:09 +0000)]
Set _NET_WM_PID and WM_CLIENT_MACHINE properties on each window, not just

Wed Sep 19 17:59:27 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_new): Set
_NET_WM_PID and WM_CLIENT_MACHINE properties on each
window, not just on the client leader. (#58463)

24 years agoAdd missing cast.
Owen Taylor [Wed, 19 Sep 2001 21:29:57 +0000 (21:29 +0000)]
Add missing cast.

Wed Sep 19 17:28:47 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_new): Add missing cast.

* gtk/gtkmenuitem.[ch] gtk/gtkmenushell.c: Underscore prefix
non-public _gtk_menu_item_set_placement.

* gtk/gtktooltips.h: Deprecate gtk_tooltips_set_delay().

24 years agoFix propagated (flags && GDK_COLOR_WRITEABLE) typo. (#59723)
Owen Taylor [Wed, 19 Sep 2001 20:17:44 +0000 (20:17 +0000)]
Fix propagated (flags && GDK_COLOR_WRITEABLE) typo. (#59723)

Wed Sep 19 16:16:38 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
          gdk/linux-fb/gdkcolor-fb.c:
        Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
(#59723)

24 years agoAllow -1 for width/height to mean "width/height of pixbuf" (Patch from
Owen Taylor [Wed, 19 Sep 2001 20:13:16 +0000 (20:13 +0000)]
Allow -1 for width/height to mean "width/height of pixbuf" (Patch from

Wed Sep 19 16:12:16 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkpixbuf-render.c: Allow -1 for width/height
to mean "width/height of pixbuf" (Patch from Matthias Clasen,
#59723)

24 years agoPatch from Frank Belew #59037 for Solaris compilation.
Owen Taylor [Wed, 19 Sep 2001 20:07:05 +0000 (20:07 +0000)]
Patch from Frank Belew #59037 for Solaris compilation.

Wed Sep 19 16:01:27 2001  Owen Taylor  <otaylor@redhat.com>

Patch from Frank Belew #59037 for Solaris compilation.

* gtk/maketypes.awk: Change syntax slightly for a call
to sub(), apparently making awk on Solaris happier.

* gtk/gtktreeview.c: Remove C++ comments.

24 years agoAdd xgettext:no-c-format comment to to handle '99% of the time. (#60473,
Owen Taylor [Wed, 19 Sep 2001 19:51:54 +0000 (19:51 +0000)]
Add xgettext:no-c-format comment to to handle '99% of the time. (#60473,

Wed Sep 19 15:46:29 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwindow.c: Add xgettext:no-c-format comment to
to handle '99% of the time. (#60473, reported by Christian Rose)

* gtk/gtkwidget.h: Remove prototype for gtk_widget_get_usize()
which no longer exists. (#60379, reported by Vitaly Tishkov)

24 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Wed, 19 Sep 2001 15:55:21 +0000 (15:55 +0000)]
Updated Norwegian (bokmål) translation.

2001-09-19  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.

24 years agoReleased 1.3.8.
Tim Janik [Wed, 19 Sep 2001 10:37:56 +0000 (10:37 +0000)]
Released 1.3.8.

Wed Sep 19 11:06:24 2001  Tim Janik  <timj@gtk.org>

        * Released 1.3.8.

        * gdk/Makefile.am: kill EXTRA_DIST clearing.

24 years agoReleased 1.3.8.
Tim Janik [Wed, 19 Sep 2001 09:44:36 +0000 (09:44 +0000)]
Released 1.3.8.

Wed Sep 19 11:06:24 2001  Tim Janik  <timj@gtk.org>

        * Released 1.3.8.

24 years agoDon't include gkd-pixbuf-features.h here since is in builddir and confuses
Owen Taylor [Wed, 19 Sep 2001 04:34:55 +0000 (04:34 +0000)]
Don't include gkd-pixbuf-features.h here since is in builddir and confuses

Wed Sep 19 00:28:24 2001  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am (gdk_pixbuf_headers): Don't include
        gkd-pixbuf-features.h here since is in builddir
        and confuses autogen rules.

        * Makefile.am: Don't += variables before they have values,
        automake-1.5 doesn't like it.

        * Makefile.am: Fix srcdir != builddir for gdk-pixbuf-enum-types.c.

        * Makefile.am: The whitespace strikes back.

24 years agodon't use BUILT_SOURCES as its broken in automake 1.4, add explicit object
Tim Janik [Wed, 19 Sep 2001 02:10:45 +0000 (02:10 +0000)]
don't use BUILT_SOURCES as its broken in automake 1.4, add explicit object

Wed Sep 19 02:50:40 2001  Tim Janik  <timj@gtk.org>

        * demos/Makefile.am ($(testpixbuf_OBJECTS)): don't use BUILT_SOURCES
        as its broken in automake 1.4, add explicit object rule to
        generate this.

        * gdk-pixbuf/Makefile.am: fix maintainer and normal cleanfiles.
        get rid of uneccessary stamps, group stuff more logically, and build
        sources due to object rules. fix srcdir!=builddir.

24 years agoFix incorrect parameter to compute_double_length (#58680, patch from
Owen Taylor [Wed, 19 Sep 2001 00:58:09 +0000 (00:58 +0000)]
Fix incorrect parameter to compute_double_length (#58680, patch from

Tue Sep 18 20:47:16 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Fix
        incorrect parameter to compute_double_length
        (#58680, patch from Matthias Clasen)

        Fixes for compilation with Forte cc. (#59734, Derek Rafter)

        * gtk/gtkwindow.h gtk/gtksizegroup.h: Remove extra ;.

        * gdk/gdktypes.h (GdkModifierType): Write 1u << 31
        for GDK_RELEASE_MASK to avoid warnings with Forte.

        * gtk/gtktexttag.c gtk/gtkcellrendertext.c: Add some missing
        break; statements.

24 years agoDon't draw with GTK_STATE_ACTIVE.
Alex Larsson [Wed, 19 Sep 2001 00:49:52 +0000 (00:49 +0000)]
Don't draw with GTK_STATE_ACTIVE.

2001-09-18  Alex Larsson  <alexl@redhat.com>

        * gtk/gtkcheckbutton.c:
* gtk/gtkradiobutton.c:
Don't draw with GTK_STATE_ACTIVE.

* gtk/gtkclist.c:
* gtk/gtkctree.c:
Draw lines between rows with base_gc[GTK_STATE_NORMAL].

* gtk/gtktextdisplay.c:
Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
unfocused with base_gc [GTK_STATE_ACTIVE].

* gtk/gtkentry.c:
Add select all menu-item.
Default cursor color is red.
Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
unfocused with base_gc [GTK_STATE_ACTIVE].

* gtk/gtklabel.[ch]:
Add keynav + menu to selectable lables.
Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and
unfocused with base_gc [GTK_STATE_ACTIVE].

* gtk/gtkfilesel.c:
Add drag and drop support.

* gtk/gtkstyle.c:
(This was checked in earlier)
New default values for text/base SELECTED and ACTIVE

24 years agoup version to 1.3.8, interface age 0, binary age 0, depend on glib 1.3.8.
Tim Janik [Tue, 18 Sep 2001 23:44:32 +0000 (23:44 +0000)]
up version to 1.3.8, interface age 0, binary age 0, depend on glib 1.3.8.

Tue Sep 18 23:51:49 2001  Tim Janik  <timj@gtk.org>

        * configure.in: up version to 1.3.8, interface age 0,
        binary age 0, depend on glib 1.3.8.

        * NEWS: 1.3.8 updates.

24 years agoremove conflict marker from ChangeLog
Jonathan Blandford [Tue, 18 Sep 2001 23:00:32 +0000 (23:00 +0000)]
remove conflict marker from ChangeLog

24 years agocentralize all the editing code
Jonathan Blandford [Tue, 18 Sep 2001 22:49:02 +0000 (22:49 +0000)]
centralize all the editing code

Tue Sep 18 18:46:54 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_start_editing): centralize all
the editing code

* gtk/gtkcelleditable.c: Got rid of stop_editing, as there was no
reason to call it beyond emiting the two signals.

* gtk/gtkentry.c (gtk_entry_class_init): add "has_frame" property
to GtkEntry.

24 years agoFix up for changes to PangoFontDescription.
Owen Taylor [Tue, 18 Sep 2001 20:06:48 +0000 (20:06 +0000)]
Fix up for changes to PangoFontDescription.

Wed Sep 12 11:21:14 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcellrenderertext.[ch] gtk/gtktexttag.[ch]
  gtk/gtktextview.c tests/testgtk.c: Fix up for changes to
PangoFontDescription.

* gtk/gtkentry.c gtk/gtkclist.c gtk/gtkcellrenderertext.c
gtk/gtkspinbutton.c: Fix up for change to PangoMetrics
structure.

* gtk/gtkfontsel.c: Fix up for new Pango font listing API.

* gtk/gtkstyle.[ch]: Add gtk_style_get_font/set_font to replace
   direct access to style->font. Deprecate gtk_style_ref/unref.

  * gtk/gtkclist.c gtk/gtkctree.c gtk/gtkstyle.c gtk/gtkwidget.c:
   Remove gtk_style_ref/unref with g_object_ref/unref.

   * gtk/gtkcalendar.c: Remove leftover macros accessing
   style->font.

   * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove unused
   variable.

   * gtk/gtktext.c gtk/gtklabel.c: Use gtk_style_get_font() instead of
style->font.

24 years agoGet rid of broken "can_edit" and "can_activate" properties in favor of
Jonathan Blandford [Tue, 18 Sep 2001 17:52:42 +0000 (17:52 +0000)]
Get rid of broken "can_edit" and "can_activate" properties in favor of

Tue Sep 18 13:51:35 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkcellrenderer.h (enum): Get rid of broken "can_edit" and
"can_activate" properties in favor of
GTK_CELL_RENDERER_MODE_INERT, GTK_CELL_RENDERER_MODE_ACTIVATABLE,
and GTK_CELL_RENDERER_MODE_EDITABLE